package com.tpp;

import com.tpp.util.SpringUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
public class TppApplication {

    public static void main(String[] args) {
        //SpringApplication.run(TppApplication.class, args);

        ApplicationContext applicationContext =
                SpringApplication.run(TppApplication.class, args);
        SpringUtil.setApplicationContext(applicationContext);
        SpringUtil.printBean();

    }

}
